package ru.amse.ilyin.analyzer.impl;

import ru.amse.ilyin.analyzer.AnalyzerException;
import ru.amse.ilyin.analyzer.Class;

/**
 * Implementation of {@link Class} interface.
 *
 * @author Alexander Ilyin
 */
public class ClassImpl extends EntityImpl implements Class {
    private Class superclass;
    
	/**
	 * Creates new instance of <code>ClassImpl</code> class.
	 * 
	 * @param name class name
	 */
	public ClassImpl(String name) {
        super(name);
	}
	
	public Class getSuperclass() throws AnalyzerException {
        return superclass;
	}
    
    void setSuperclass(Class superclass) {
        this.superclass = superclass;
    }
}
